IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'usr2')
CREATE LOGIN [usr2] WITH PASSWORD = 'p@ssw0rd'
GO
CREATE USER [usr2] FOR LOGIN [usr2]
GO
GRANT CONNECT TO [usr2]
